
//删除xml配置参数
$('body').on('click',".deleteXmlParamsSpanClick",function(){
	deleteXmlDriverDataDetail(this);
});

//添加xml配置参数
function addXmlDriverDataDetail(page){
	console.log(page)
	var xmlDataHtml=$('<div class="form-group">'
					+'<div class="col-sm-2"></div>'
					+'<div class="col-sm-4">'
					+'<select class="form-control" name="type">'
					+'<option value="1">String</option>'
					+'<option value="2">Boolean</option>'
					+'<option value="3">Double</option>'
					+'<option value="4">DataTime</option>'
					+'<option value="5">TimeSpan</option>'
					+'</select>'
					+'</div>'
					+'<div class="col-sm-4">'
					+'<input class="form-control" type="text" name="">'
					+'</div>'
					+'<span class="fa fa-minus fa-2x fastsyncer_pointer col-sm-2 form-control-static deleteXmlParamsSpanClick"></span>'
					+'</div>');
	$(page).parents(".driverXmlParamsContainer").append(xmlDataHtml);
}
//删除xml配置参数
function deleteXmlDriverDataDetail(type){
	$(type).parents('.form-group').remove();
}